package com.daocao.hua.api.callback;

import com.daocao.hua.api.bean.AllTypeBean;
import com.daocao.hua.api.contract.BaseContract;
import com.daocao.hua.model.BankModel;
import com.daocao.hua.model.LiMuApiKeyModel;
import com.daocao.hua.model.LiMuSignModel;
import com.daocao.hua.model.MyCertificationModel;
import com.daocao.hua.model.ResponseModel;

/**
 * Created by Administrator on 2017/5/14.
 */

public interface OperatorContract {
    interface View extends BaseContract.BaseView {
        void getKeySuccess(LiMuApiKeyModel item);

        void getSignSuccess(LiMuSignModel item);

        void uploadTokenSuccess(ResponseModel item);

        void getMyCertificationSuccess(MyCertificationModel item);

        void getBankRealnameSuccess(BankModel item);

        void getBankRealnameFail(String msg);

        void getEmailPassSuccess(AllTypeBean item);

        void getTaobaoPassSuccess(AllTypeBean item);

        void getXuexinPassSuccess(AllTypeBean item);

        void getYunYingPassSuccess(AllTypeBean item);
    }

    interface Presenter<T> extends BaseContract.BasePresenter<T> {
        void getKey(String deal_id);

        void getSign(String params);

        void uploadToken(String deal_id, String token,String biztype);

        void getMyCertification();

        void getBankRealname();

        void getEmailPass();

        void getTaobaoPass();

        void getXuexinPass();

        void getYunYingPass();

    }
}
